﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;

namespace FileUpload.Models
{
    [DataContract]
    public class JsonResultModel
    {
        [DataMember(Name="status")]
        public int Status { get; set; }
        [DataMember(Name = "message")]
        public string Message { get; set; }
        [DataMember(Name = "data")]
        public object Data { get; set; }
    }
    public enum JsonResultStatus { Success = 0, Error = 1 };
}